//
// Created by lzw on 24-10-19.
//

#ifndef CMONKEY_TOKEN_H
#define CMONKEY_TOKEN_H

struct s_token
{
    char type[10];
    char literal[1024];
};

int s_token_eq(const struct s_token t1, const struct s_token t2);
void s_token_to_str(struct s_token *t, char *str);
struct s_token new_s_token(const char *typ, const char *literal);
void s_token_set_type(struct s_token *t, const char *typ);
void s_token_set_literal(struct s_token *t, const char *literal);


#endif // CMONKEY_TOKEN_H
